﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MvcApplication3.Models.LogOnModel>" %>

<asp:Content ID="loginTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Log On
</asp:Content>

<asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">  
    <h2>Log On</h2>     
    
    
    <form action="Authenticate?ReturnUrl=<%=HttpUtility.UrlEncode(Request.QueryString["ReturnUrl"]) %>" method="post" id="openid_form">  
    <input type="hidden" name="action" value="verify" />  
        <%: Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.") %>  
        <div>  
            <fieldset>  
                <legend>Account Information</legend>  
  
                <div class="openid_choice">  
                    <p>Once logged in, you will gain access to the Members Area. <br />Please select your account provider and you will be redirected to their logon page:</p>  
                    <div id="openid_btns">
                    <a title="Facebook" href="<%= Url.RouteUrl(new { controller = "Account", action = "FacebookLogin" }) %>" style="background: #FFF url(../images/facebook.gif) no-repeat center center" class="facebook openid_large_btn"></a>
                    <a title="Live" href="<%= Url.RouteUrl(new { controller = "Account", action = "LiveLogin" }) %>" style="background: #FFF url(../images/live.jpg) no-repeat center center" class="live openid_large_btn"></a>
                    </div>

                     <div id="Div1"></div>
                      
                </div>                                 
                <div id="openid_input_area">  
                    <%: Html.TextBox("openid_identifier") %>  
                    <input type="submit" value="Log On" />  
                    
                </div>    
            </fieldset>  
        </div>  
    </form>  
</asp:Content>  
